package com.mou.dto;

import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.Pattern;

@Data
public class PayPasswordDTO {
    @Email(regexp = "/^[a-zA-Z0-9]+@qq\\.com$/",message = "邮箱格式不正确")
    private String email;
    @Pattern(regexp = "/[0-9]{6}/",message = "验证码格式不正确")
    private String captcha;
    @Pattern(regexp = "/[0-9]{6}/",message = "密码格式不正确")
    private String payPassword;
}
